<?php
namespace app\common\errcode;

class ApiErrCode
{
    CONST SUCCESS                 = 10000;      //请求成功
    CONST FAIL                    = -1;         //请求失败
    CONST SYSTEM_ERROR            = 10500;      //系统错误
    CONST PARAM_ERROR             = 10100;      //参数错误
    CONST LOGIN_FAIL              = 10101;      //用户名或密码错误，请检查！
    CONST JWT_ERROR               = 10102;      //token验证失败 
    CONST JWT_EXPIRE              = 10103;      //token过期
    CONST LOGIN_FORBIDDEN         = 10104;      //离职人员禁止登录
    CONST TEMP_TOKEN_ERROR        = 10105;      //获取临时凭证失败
    CONST CREATE_BRAND_FAIL       = 10106;      //新增品牌失败
    CONST BRAND_EXIST             = 10107;      //品牌已存在
    CONST REMARK_FAIL             = 10108;      //备注失败
    CONST DELETE_FAIL             = 10109;      //删除失败
    CONST EDIT_FAIL               = 10110;      //编辑失败
    CONST PRODUCT_EXIST_VIDEO     = 10111;      //产品存在关联视频
    CONST UPLOAD_FAIL             = 10112;      //上传失败
    CONST CHECK_FAIL              = 10113;      //检测失败
    CONST PUSH_FAIL               = 10114;      //推送失败
    CONST NO_DOWNLOAD_DATA        = 10115;      //没有可下载数据
    CONST CREATE_TASK_FAIL        = 10116;      //创建任务失败
    CONST HANDLE_TASK_FAIL        = 10117;      //操作任务失败
    CONST SEND_FAIL               = 10118;      //发送失败
    CONST TASK_NOT_EXIST          = 10119;      //任务不存在
    CONST DELETE_TASK_FAIL        = 10120;      //删除任务失败
}